#ifndef _INCLUDE_OPENNL_E_MESSAGE_TYPE_
#define _INCLUDE_OPENNL_E_MESSAGE_TYPE_

/*!
    Copright: Kai "DrHalan" Mast - www.freakybytes.org

    This file is part of OpenNetwork. See OpenNetwork.h for license information.
*/


namespace onet
{

enum EMessageType
{
    //! INTERNAL TYPE - Don't use
    //! Ping/Pong
    EMT_Ping = 0,
    EMT_Pong,

    //! Messages used to connect/disconnect
    EMT_ConnectRequest,
    EMT_Disconnect,
    EMT_ConnectAccepted,
    EMT_ConnectDenied,

    //! Shows this message is reliable
    EMT_Reliable,

    //! Used to show that a package arrived
    EMT_ArrivalNotification,

    //! Use this to implent your own
    //! message types (type = EMT_Custom + x)
    EMT_Custom,
};

} //!end namespace onet

#endif
